<extend name="Base/common"/>
<block name="head_js">
    <script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>
</block>
<block name="body">
    <div class="banner">
        <img src="__IMG__/banner3.jpg" alt="">
        <div class="sub-nav">
            <a href="{:U('Contact/index')}" title="">
                <div class="yuan">
                    <p>联系我们</p>
                    <div class="heng">

                    </div>
                </div>
            </a>
            <a class="about-a" href="{:U('Contact/feedback')}" title="">
                <div class="yuan">
                    <p>意见反馈</p>
                    <div class="heng">

                    </div>
                </div>
            </a>
        </div>
    </div>
    <div class="crumbs">
        <img src="__IMG__/address.png" alt="">
        <p>您现在的位置：<a href="/">首页</a> >> <a href="{:U('Contact/index')}">联系我们</a> >> <a>意见反馈</a></p>
    </div>
    <div class="new-cont1">
        <div class="tec-cont" style="border:1px solid #e2e2e2;background: #fff;margin-top: 20px;">
            <div class="form">
                <p>闪电般的速度服务好每一位客户，闪电般的速度解决好的任何问题和困难！</p>
                <div class="cont">
                    <form action="" method="">
                        <div class="items"><label>　　姓名：　　</label><input type="text" name="name"></div>
                        <div class="items"><label>联系方式：　　</label><input type="text" name="tel"></div>
                        <div style="clear: both;"></div>
                        <div class="itemss"><p>意见反馈：　　</p><textarea type="text" name="content"></textarea></div>
                        <input type="button" onclick="message_sub1()" class="sub" value="立即提交">
                    </form>
                </div>
            </div>
        </div>
        <div style="width: 100%;height: 40px;">

        </div>
    </div>
    <div style="width: 100%;height: 40px;">

    </div>
<script>


    function message_sub1() {
    var name=$("input[name='name']").val();
    var tel=$("input[name='tel']").val();
    var content=$("textarea[name='content']").val();

    if($.trim(name)==""||$.trim(tel)=="" ||$.trim(content)=="" ){
    alert("请填入完整信息");
    return false;
    }else{
    $.post("{:U('Contact/feedback')}",{name:name,tel:tel,content:content},function(data){
    if(data){
    alert(data);
    $("#message_form1 input[type!='button']").val("");
    $("#message_form1 textarea").val("");
    }
    });
    }
    }
</script>
</block>
<block name="footer_js">

</block>